@font-face {
    font-family: title;
    src: url("../../assets/1.otf");
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}
.page {
    padding: 0 32px;
    background: #f3f7ff;
    min-height: 100%;
    padding-bottom: 120px;
    .page-top {
        background: url(../../assets/robot.png) no-repeat left -15px top/180px,
            url(../../assets/top-bg.png) no-repeat left top/100%;
        height: 181px;
        position: relative;
        // margin-bottom: 18px;
        .content {
            position: absolute;
            top: 55px;
            left: 163px;
            .name {
                font-size: 40px;
                font-family: title;
                background: linear-gradient(180deg, #4f5d7c 0%, #08090c 100%);
                -webkit-background-clip: text;
                -webkit-text-fill-color: transparent;
                background-clip: text;
                font-variation-settings: "opsz" auto;
                font-weight: bold;
                font-style: italic;
                padding: 5px 10px 10px 0;
            }
            .text {
                font-size: 36px;
            }
        }
    }
}
.sub-title-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 30px;
    margin-bottom: 32px;
}
.sub-title {
    font-size: 32px;
    font-weight: 600;
    padding-left: 20px;
    position: relative;
    &::before {
        content: "";
        position: absolute;
        left: 0;
        top: 50%;
        width: 4px;
        height: 24px;
        background: linear-gradient(168deg, #0d86ff 18%, #064cee 100%);
        border-radius: 99px;
        transform: translateY(-50%);
    }
}
.container {
    .card {
        padding: 32px 32px 40px 32px;
        background: linear-gradient(180deg, rgba(255, 255, 255, 0.17) 0%, #ffffff 100%);
        box-shadow: 0px 10px 30px 0px rgba(10, 56, 110, 0.1);
        border-radius: 24px;
        margin-bottom: 32px;

        .seeDemo {
            color: #3d3d3d;
            cursor: pointer;
        }
    }
    .origin-text {
        border: none;
        background: #f7f8fa;
        border-radius: 8px;
        height: 450px;
        width: 100%;
        padding: 24px;
        box-sizing: border-box;
        resize: none;
        font-size: 30px;
    }
    .task {
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
        font-size: 30px;
        .item {
            border: 2px solid #d9e1ea;
            margin-bottom: 32px;
            border-radius: 8px;
            width: 299px;
            height: 80px;
            text-align: center;
            line-height: 80px;
            &.active {
                color: #0d86ff;
                border: 2px solid #0d86ff;
                background: rgba(13, 134, 255, 0.05);
            }
        }
    }
}
.page-footer {
    position: fixed;
    left: 0;
    bottom: 0;
    width: 100%;
    z-index: 1;
    background: #f8faff;
    padding: 14px 32px;
    display: flex;
    align-items: center;
    .history {
        width: 80px;
    }
    button {
        height: 90px;
        border-radius: 45px;
        width: 566px;
        font-size: 32px;
        font-weight: 500;
        background: rgba(192, 196, 204, 0.4);
        color: #fff;
        border: none;
        margin-left: 40px;
        &.active{
            background: linear-gradient(270deg, #076DFF 0%, #26A5FF 100%);
        }
    }
}
.demo-box {
    padding: 32px;
    position: relative;
    height: 100%;
    box-sizing: border-box;
    .submit-demo {
        height: 90px;
        width: 686px;
        border: none;
        border-radius: 45px;
        color: #fff;
        background: linear-gradient(270deg, #076dff 0%, #26a5ff 100%);
        position: absolute;
        bottom: 30px;
    }
    :deep(.van-swipe) {
        padding-bottom: 60px;
        .van-swipe-item {
            max-height: 340px;
            overflow: auto;
        }
        .van-swipe__indicators {
            bottom: 0px;
        }
    }
}
.tabs {
    display: flex;
    align-items: center;
    font-size: 36px;
    color: #8f959e;
    padding: 0px 0px 16px;
    background: #f3f7ff;
    .tab {
        position: relative;
        margin-right: 48px;
        &.active {
            color: #1f2329;
            font-weight: 600;
            &::after {
                content: "";
                position: absolute;
                left: 0;
                right: 0;
                bottom: 0;
                width: 100%;
                width: 100%;
                height: 21px;
                background: linear-gradient(270deg, rgba(13, 134, 255, 0) 0%, #0d86ff 100%);
                opacity: 0.3;
            }
        }
    }
}

.result-box {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.42) 100%);
    box-shadow: 0px 10px 30px 0px rgba(10, 56, 110, 0.1);
    padding: 32px;
    border-radius: 24px;
    .loading-box {
        display: flex;
        align-items: center;
        background: linear-gradient(270deg, #5e00da 0%, #1eceff 100%);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
        text-fill-color: transparent;
        img {
            display: flex;
            align-items: center;
            width: 34px;
            margin-right: 24px;
        }
    }
    .result {
        height: calc(100vh - 530px);
        overflow: auto;
    }
}
.update-box {
    padding: 14px 32px;
    display: flex;
    align-items: center;
    margin-top: 24px;
    img {
        display: inline-block;
        width: 80px;
    }
    button {
        height: 90px;
        border-radius: 45px;
        width: 566px;
        font-size: 32px;
        font-weight: 500;
        background: transparent;
        color: #0D86FF;
        border: none;
        margin-left: 40px;
        border: 1px solid #0d86ff;
    }
}
